package com.jk.vehicle.core.exception;

import com.jk.vehicle.core.constants.HttpCode;

/**
 * 登录异常类
 *
 * @author KangJian
 * @date 2018/7/18
 */
public class LoginException extends BaseException {
    public LoginException() {
    }

    public LoginException(String message) {
        super(message);
    }

    public LoginException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    protected HttpCode getCode() {
        return HttpCode.UNAUTHORIZED;
    }
}
